﻿namespace Cos.Module.Security.NHibernate.Tests
{
    using Cos.Core.NHibernate;
    using Cos.Core.NHibernate.Tests;

    using NUnit.Framework;

    [TestFixture]
    public class RoleReferenceDataModelFixture : ModuleFixtureBase
    {
        [Test]
        public void CanMapRoleReferenceDataModel()
        {
            new PersistenceSpecification<RoleReferenceDataModel>(Session)
                .CheckProperty(x => x.RoleName, "the role")
                .VerifyTheMappings();
        }
    }
}
